package com.askinhand.dao;

import java.util.List;

import com.askinhand.bean.PictureAnswer;
import com.askinhand.bean.User;

public interface IPictureAnswerDAO {

	public abstract void save(PictureAnswer transientInstance);

	public abstract void delete(PictureAnswer persistentInstance);

	public abstract void update(PictureAnswer persistentInstance);

	public abstract PictureAnswer findById(java.lang.Integer id);

	public abstract List findByExample(PictureAnswer instance);

	public abstract List findByProperty(String propertyName, Object value);

	public List findByUser(User user);
	
	public List findByUid(int uid);

	public abstract List findByContent(Object content);

	public abstract List findByFeedback(Object feedback);

	public abstract List findByIsGood(Object isGood);

	public abstract List findByTitle(Object title);

	public abstract List findAll();

	public abstract PictureAnswer merge(PictureAnswer detachedInstance);

	public abstract void attachDirty(PictureAnswer instance);

	public abstract void attachClean(PictureAnswer instance);

}